#-------------------------------------------------
#
# Project created by QtCreator 2017-02-26T21:01:49
#
#-------------------------------------------------

QT       += widgets network sql

TARGET = worklist
TEMPLATE = lib

DEFINES += WORKLISTPLUGIN_LIBRARY
DEFINES += NOMINMAX
DEFINES += _REENTRANT
DEFINES += HAVE_PROTOTYPE_GETHOSTNAME

CONFIG(release, debug|release) {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MD\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MD\lib\*.lib"
} else {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MDd\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MDd\lib\*.lib"
}

LIBS += advapi32.lib wsock32.lib netapi32.lib

SOURCES += \
    patientselectdialog.cpp \
    worklistitemmodel.cpp \
    worklistwidget.cpp \
    wlistscuthread.cpp \
    worklistplugin_global.cpp

HEADERS +=\
        worklistplugin_global.h \
    patientselectdialog.h \
    worklistitemmodel.h \
    worklistwidget.h \
    worklistinterface.h \
    wlistscuthread.h

unix {
    target.path = /usr/lib
    INSTALLS += target
}

FORMS += \
    patientselectdialog.ui \
    worklistwidget.ui
